﻿using CQIE.LabAssist.DataAccesss;
using CQIE.LabAssist.Models;
using Microsoft.AspNetCore.Mvc;

namespace CQIE.LabAssist.Controllers
{
    /// <summary>
    /// 首页控制器
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class FirstController : Controller
    {
        private readonly IFirstService _firstService;

        public FirstController(_DbContext _DbContext, IFirstService firstService)
        {
            _firstService = firstService;
        }
        [HttpGet]
        public IActionResult getAllCheckByfalse()
        {
            return new JsonResult(_firstService.getAllCheckByfalse());
        }
    }
}
